/*
 * @Author: your name
 * @Date: 2021-12-14 00:38:55
 * @LastEditTime: 2021-12-14 00:38:57
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \h5\h5\store\index.js
 */
import Vue from 'vue'
import Vuex from 'vuex'
//用户模块
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {

        isActive: false, // 单品

    },
    mutations: {

        // 单品
        isActive(state, payload) {
            state.isActive = payload
        },


    },
    actions: {},
    modules: {

    }
})
export default store